<html>
<head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script>
<script type="text/javascript" id="wicket-ajax-debug-enable">
/*<![CDATA[*/
Wicket.Log.enabled=true;
/*]]>*/
</script>
<script type="text/javascript" id="wicket-ajax-base-url">
/*<![CDATA[*/
Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0";
/*]]>*/
</script>

  <title>ajax-test</title>
<script type="text/javascript">
/*<![CDATA[*/
Wicket.Event.add(window, "load", function(event) { 
Wicket.Timer.set('linja11.0', function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0-1.0-testPanel-baseSpan-linja1","c":"linja11"});}, 2000);;
;});
/*]]>*/
</script>
</head>
<body>
  <span wicket:id="testPanel"><wicket:panel>
    <span wicket:id="baseSpan">
      <wicket:child><wicket:extend>
    this counter should update every 2 seconds: <span wicket:id="linja1" id="linja11">0</span>
  </wicket:extend></wicket:child>
    </span>
  </wicket:panel></span>
</body>
</html>